﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AppFramework.DinosaursParkMes.MaterialModel
{
    /// <summary>
    /// 物料类型表
    /// </summary>
    [Table("tb_materialtype")]
    public class Materialtype : AuditedEntity<int>, ISoftDelete
    {
        /// <summary>
        /// 分类名称
        /// </summary>
        [Required, Display(Name = "分类名称")]
        public string Name { get; set; }
        /// <summary>
        /// 父级id
        /// </summary>
        public int Pid { get; set; }
        public bool IsDeleted { get; set; }
    }
}
